package com.virtualtrainer_01.model;

import com.virtualtrainer_01.util.NameList;

import android.text.format.Time;

public class Training extends Model {

	private int duration;
	private NameList<Group> groupList;
	private NameList<Exercise> exerciseList;
	private Time beginTime;

	public Training() {
	}

	public Training(String name, NameList<Group> groupList, int duration, Time beginTime, NameList<Exercise> exList) {
		this.groupList = groupList;
		this.duration = duration;
		this.beginTime = beginTime;
		this.exerciseList = exList;
		this.name = name;
	}

	public NameList<Exercise> getExerciseList() {
		return exerciseList;
	}

	public void setExerciseList(NameList<Exercise> exerciseList) {
		this.exerciseList = exerciseList;
	}

	public NameList<Group> getGroupList() {
		return groupList;
	}

	public void setGroupList(NameList<Group> groupList) {
		this.groupList = groupList;
	}

	public int getDuration() {
		return duration;
	}

	public void setDuration(int duration) {
		this.duration = duration;
	}

	public Time getBeginTime() {
		return beginTime;
	}

	public void setBeginTime(Time beginTime) {
		this.beginTime = beginTime;
	}
}
